namespace Domain.DTOs.Order
{
    /// <summary>
    /// 订单DTO
    /// </summary>
    public class OrderDTO
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        public long Itemcode { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary>
        public string? Itemname { get; set; }

        /// <summary>
        /// 购买数量
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime Ordertime { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public int Orderstatus { get; set; }

        /// <summary>
        /// 订单状态文本
        /// </summary>
        public string OrderstatusText { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否已删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
